package com.hc.sss.mapper;


import com.hc.sss.pojo.RedEnvelope;

import java.util.List;
import java.util.Map;

public interface RedEnvelopeMapper {


    //添加红包
    int insertRedEnvelope(RedEnvelope redEnvelope);

    /*查询所有红包+分页*/
    List<RedEnvelope> findRedEnvelopeList(Map<String,Object> paramMap);

    /*修改红包*/
    int updateRedEnvelope(RedEnvelope redEnvelope);

}